# -*- coding: utf-8 -*-
import requests
import json
from urllib import parse
from django.shortcuts import render
from django.http import HttpResponse
from django.views.decorators import csrf
import sys
import mysql.connector
from . import getsql


def index(request):
    pathname=str(request.path)
    if pathname=='/study':
        return render(request, 'study/django/index.html')
    else:
        return render(request, 'study/django{}'.format(pathname))

